IMotion.GetAxisVelocity 方法
從軸取得目前速度,此速度可為設定速度或實際速度。
命名空間:IntervalZero.KINGSTAR.Base.Api組合: IntervalZero.KINGSTAR.Base.Api (於 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0
語法
KsReturn<double> GetAxisVelocity(
int Index,
McSource Source
)
Function GetAxisVelocity(
Index As Integer,
Source As McSource
) As KsReturn(Of Double)
參數
Index
型別:int
軸索引。索引以 0 為起始;別名將影響此參數。
Source
型別:McSource
選擇欲讀取的速度值。
回傳值
回傳一個 KsError 代碼及一個 double 值。
範例
N/A
參見